package la.iok.hzsvn.lewin.movie.shopmovie.model;

import la.iok.hzsvn.lewin.movie.core.model.QRCodeBaseInfo;

public class CouponQRInfo extends QRCodeBaseInfo {
    /**
     * 优惠券id
     */
    private Long id;
    /**
     * 优惠券名称
     */
    private String name;
    /**
     * 优惠券类型。1：折扣卷，2：金额卷
     */
    private Integer type;
    /**
     * 优惠卷额度。如果是折扣券,那就是百分比的值,如五折券,值为50，表示50%；如果有金额券,值为236,那就是优惠金额236分,单位为分
     */
    private Integer amount;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }
}
